package com.haixiaoke.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.common.annotation.Excel;
import com.haixiaoke.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 智能锁离线记录对象 biz_lock_offline_log
 *
 * @author qixi
 * @date 2023-05-29
 */
@Data
public class LockOfflineLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 智能锁sn
     */
    @Excel(name = "智能锁sn")
    private String lockSn;

    /**
     * 离线时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "离线时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date offlineTime;

    /**
     * 品牌id
     */
    @Excel(name = "品牌id")
    private Long brandId;

    /**
     * 品牌名称
     */
    @Excel(name = "品牌名称")
    private String brandName;

    /**
     * 型号id
     */
    @Excel(name = "型号id")
    private Long modelId;

    /**
     * 型号名称
     */
    @Excel(name = "型号名称")
    private String modelName;


}
